﻿namespace RSSAggregator_WebRole
{
    using Microsoft.Samples.ServiceHosting.StorageClient;
    using RssAggregatorBusiness;
    
    public class EntryPoint
    {
        public static void CreateTables()
        {
            StorageAccountInfo accountInfo = StorageAccountInfo.GetAccountInfoFromConfiguration("TableStorageEndpoint");
            TableStorage.CreateTablesFromModel(typeof(RSSAggregatorContext), accountInfo);
        }
    }
}